This is a model of interacting objects. Friction losses are present, i.e. the objects move in a viscous medium. The interaction is calculated using inverse-radius law; at small distances attraction is replaced by repulsion.
The configuration of the objects becomes spherical, as defined by the minimum of the potential energy.